package com.jichangxiu.system.service;

import com.github.yulichang.base.MPJBaseService;
import com.jichangxiu.system.entity.dto.SysUserRoleDto;
import com.jichangxiu.system.entity.dto.edit.EditSysUser;
import com.jichangxiu.system.entity.po.SysUserRole;

import java.util.List;

/**
 * SysUserRoleService:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:45:05
 */
public interface SysUserRoleService extends MPJBaseService<SysUserRole> {

    /**
     * 增加 / 修改 / 删除 用户角色关联列表
     *
     * @param editSysUser        系统用户
     * @param sysUserRoleDtoList 用户角色关联对象列表
     * @return 是否成功
     */
    public Boolean addOrDelOrEdit(EditSysUser editSysUser, List<SysUserRoleDto> sysUserRoleDtoList);

}